InitUserPrefs();
local t = Def.ActorFrame {};
local function NoMoreSaving()
	if getenv(save,nil) then
		setenv(save,0);
	end
end;
t[#t+1] = Def.ActorFrame {
	OnCommand=function(self)
		if not FILEMAN:DoesFileExist("Save/ThemePrefs.ini") then
			Trace("ThemePrefs doesn't exist; creating file")
			ThemePrefs.ForceSave()
		end

		ThemePrefs.Save()
		NoMoreSaving()
	end;
};

t[#t+1] = StandardDecorationFromFileOptional("NetworkStatus","NetworkStatus");


return t;